Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix not thrown exception #50

Merged
merged 3 commits into from
Jan 20, 2024
Merged

Conversation

psharaev
Copy link

I expect to get an exception that the bucket is not found if it really does not exist when using the setIndividualBucketQuota and setUserQuota methods

In the current implementation, the error is ignored and it looks like the setter was successful

@hrchu
Copy link
Member

hrchu commented Jan 19, 2024

Nice catch! Could you also update the test cases to match the new behavior? https://github.com/twonote/radosgw-admin4j/actions/runs/7570697337/job/20639380354?pr=50#step:10:10879
image

@psharaev
Copy link
Author

I hope I fixed the tests) locally I don't have time to figure out how to run them(

I also used google java format for tests

@hrchu hrchu merged commit 3d61a27 into twonote:master Jan 20, 2024
4 checks passed
@hrchu
Copy link
Member

hrchu commented Jan 20, 2024

Megred. Thank you for yor contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants